<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-1.10.2.js"></script>
</head>
<body>

<script>
    (function () {
        $.ajax({
            url: "http://localhost:8060/add",
            type: "get",
            success: function (res) {
                console.log(res);
            }
        })
    })()
</script>

</body>
</html>